package com.wva.video.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 视频状态枚举类
 * @Author: hong
 * @Date: 2025/2/17 21:25:09
 */
@AllArgsConstructor
@Getter
public enum VideoStatus {
    WAIT_PRE_PROCESS(0),
    WAIT_MAIN_PROCESS(1),
    WAIT_MACHINE_AUDIT(2),
    WAIT_MANUAL_AUDIT(3),
    NORMAL(4),
    DELIST(5),

    /**
     * 视频信息审核不通过
     */
    INFO_VIOLATION(-1),
    MACHINE_AUDIT_FAIL(-2),
    MANUAL_AUDIT_FAIL(-3),
    TRANSCODING_FAIL(-4),
    /**
     * 网络出错
     */
    NETWORK_ERROR(-5);
    private final int status;
}
